<#include "/view/templates/ace/ace-inc.ftl">
<@input>
    <input type="hidden" name="id" value="${document?exists?then(document.id?c, '')}"/>
           <@formgroup title='档案名称'>${document?exists?then(document.name, '')}</@formgroup>
           <@formgroup title='车牌号'>${document?exists?then(document.vehicleNo, '')}</@formgroup>
       <@formgroup title='行车本'>
       <#if driverBook??>
       <#list driverBook as item>
       <img src="data:image/jpeg;base64,${item.url}" style="width: 100px;height: 100px;"></>
       </#list>
       </#if>
       </@formgroup>

       <@formgroup title='登记证书'>
        <#if regixCertificate??>
        <#list regixCertificate as item>
        <img src="data:image/jpeg;base64,${item.url}" style="width: 100px;height: 100px;"></>
        </#list>
        </#if>
       </@formgroup>

       <@formgroup title='保险单（存档）照片'>
       <#if insurePicture??>
       <#list insurePicture as item>
       <img src="data:image/jpeg;base64,${item.url}" style="width: 100px;height: 100px;"></>
       </#list>
       </#if>
       </@formgroup>

       <@formgroup title='还款计划表'>
      <#if repaymentPlan??>
      <#list repaymentPlan as item>
      <img src="data:image/jpeg;base64,${item.url}" style="width: 100px;height: 100px;"></>
      </#list>
      </#if>
       </@formgroup>

</@input>

